/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Modelos;

import Entidades.FeriadoAsueto;
import java.util.List;
import javax.swing.DefaultListModel;

/**
 *
 * @author diego
 */
public class ModeloComboFeriado extends DefaultListModel {

    public void addElement(List<FeriadoAsueto> fya) {
        for (FeriadoAsueto lfya : fya) {
            super.addElement(lfya); //To change body of generated methods, choose Tools | Templates.
        }
    }

    @Override
    public Object elementAt(int index) {
        return super.elementAt(index); //To change body of generated methods, choose Tools | Templates.
    }
}
